<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/style/common.css">
<link rel="stylesheet" type="text/css" href="/style/style.css">
<script language="javascript" src="/js/jquery-1.4.2.min.js"></script>
<script language="javascript">
function register() {
	var user = $(':text[name=username]').val();
	var pass = $(':password[name=password]').val();
	$.post('/manager',{action:1,username:user,password:pass},handler);
}
function handler(data){
	alert(data);
}
</script>
<title>U115机器人</title>
</head>
<body>
<table>
	<tr><td>email</td><td><input type="text" name="username"></td></tr>
	<tr><td>密码</td><td><input type="password" name="password"></td></tr>
	<tr><td></td><td align="right"><input type="button" value="登记" onclick="register();"></td></tr>
</table>
</body>
</html>